package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Category;

public interface CategoryService extends IService<Category> {
    /**
     * 分页查询
     * @param pages
     * @param pageSize
     * @return
     */
    public Page<Category> findPage(Integer pages,Integer pageSize);


    public void delete(Long id);
}
